package com.example.vo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
//@Getter
//@Setter
public class LoginVo {
    @NotBlank(message = "这个Mobile不能为空")
    @Length(min = 1, message = "不能低于1个字符")
    private String Mobile;
    @NotNull
    @Length(min = 4)
    private String Password;
}
